.class public Lcom/nemustech/tiffany/world/TFObject;
.super Ljava/lang/Object;
.source "TFObject.java"

# interfaces
.implements Ljava/lang/Cloneable;


# static fields
.field private static final STOP_RESISTENCY_FACTOR:F = 0.8f

.field private static final TAG:Ljava/lang/String; = "TFObject"

.field static final compareAxisZ:Ljava/util/Comparator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Comparator",
            "<",
            "Lcom/nemustech/tiffany/world/TFObject;",
            ">;"
        }
    .end annotation
.end field

.field private static gRotationResistency:F

.field private static gRotationVelocity:F


# instance fields
.field final EPSILON:F

.field protected mActOnDrag:Z

.field protected mAngle:[F

.field protected mAngleRotateAmount:[F

.field protected mAngleRotateTarget:[F

.field protected mCloneList:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList",
            "<",
            "Lcom/nemustech/tiffany/world/TFObject;",
            ">;"
        }
    .end annotation
.end field

.field mCloneObject:Z

.field mDepth:F

.field public mDescription:Ljava/lang/String;

.field private mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

.field private mEffectFinishListenerChecker:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

.field mEffectStatus:I

.field private mEndingSpeed:F

.field protected mExternalFadingFactor:F

.field protected mFadeInitialTime:J

.field protected mFadeRemainingTime:J

.field protected mFadeTargetOpacity:F

.field protected mForceFromHead:F

.field protected mForceFromSide:F

.field mHeight:F

.field private mIgnoreMovementOnSelect:Z

.field protected mIntendedOpacity:F

.field private mIsCorrectAccelerator:Z

.field protected mIsIgnoringResistency:Z

.field private mIsLocked:Z

.field protected mIsMovingTargetExist:Z

.field protected mIsRotatingTargetExist:Z

.field mItemIndex:I

.field private mLayer:Lcom/nemustech/tiffany/world/TFWorld$Layer;

.field protected mLocation:[F

.field mMatrix:[F

.field protected mMorphInitialTime:J

.field protected mMorphRemainingTime:J

.field protected mMovingAccelerator:[F

.field private mMovingDuration:F

.field protected mMovingMiddlePoint:[F

.field protected mMovingVelocity:[F

.field protected mOpacity:F

.field mOriginalTwin:Lcom/nemustech/tiffany/world/TFObject;

.field protected mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

.field protected mPosMovingTarget:[F

.field private mReservedParam:[I

.field protected mRotateDirection:[I

.field mRotateYFirst:Z

.field protected mRotationAccelerator:[F

.field protected mRotationResistency:F

.field protected mRotationVelocity:[F

.field protected mSelectListener:Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;

.field private mSensitivity:F

.field mShouldDraw:Z

.field mShouldRotateFirst:Z

.field protected mTranslateResistency:F

.field mVisible:Z

.field protected mWaitInitialTime:J

.field protected mWaitRemainingTime:J

.field protected mWeight:F

.field mWidth:F

.field protected mWorld:Lcom/nemustech/tiffany/world/TFWorld;

.field protected mWrapper:Lcom/nemustech/tiffany/world/TFObjectContainer;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 1732
    new-instance v0, Lcom/nemustech/tiffany/world/TFObject$2;

    invoke-direct {v0}, Lcom/nemustech/tiffany/world/TFObject$2;-><init>()V

    sput-object v0, Lcom/nemustech/tiffany/world/TFObject;->compareAxisZ:Ljava/util/Comparator;

    return-void
.end method

.method public constructor <init>()V
    .locals 5

    .prologue
    const/4 v4, 0x0

    const/high16 v3, 0x3f80

    const/4 v2, 0x0

    const/4 v1, 0x3

    .line 20
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 1785
    const v0, 0x358637bd

    iput v0, p0, Lcom/nemustech/tiffany/world/TFObject;->EPSILON:F

    .line 1801
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    .line 1802
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    .line 1803
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    .line 1804
    const/4 v0, 0x6

    new-array v0, v0, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    .line 1805
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingMiddlePoint:[F

    .line 1808
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    .line 1809
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    .line 1810
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    .line 1811
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    .line 1812
    new-array v0, v1, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationAccelerator:[F

    .line 1814
    new-array v0, v1, [I

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    .line 1869
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsCorrectAccelerator:Z

    .line 22
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneObject:Z

    .line 23
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsLocked:Z

    .line 24
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    .line 25
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mShouldRotateFirst:Z

    .line 26
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateYFirst:Z

    .line 27
    invoke-virtual {p0, v3}, Lcom/nemustech/tiffany/world/TFObject;->setSensitivity(F)V

    .line 28
    invoke-virtual {p0, v3}, Lcom/nemustech/tiffany/world/TFObject;->setWeight(F)V

    .line 29
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/nemustech/tiffany/world/TFObject;->setActOnDrag(Z)V

    .line 30
    const/16 v0, 0x10

    new-array v0, v0, [F

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mMatrix:[F

    .line 31
    iput v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    .line 32
    iput v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mExternalFadingFactor:F

    .line 34
    iput v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mEndingSpeed:F

    .line 35
    iput v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingDuration:F

    .line 36
    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsCorrectAccelerator:Z

    .line 37
    const/4 v0, -0x1

    iput v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mItemIndex:I

    .line 38
    return-void
.end method

.method private calcRotationVelocity(II)F
    .locals 2
    .parameter "tickPassed"
    .parameter "axis"

    .prologue
    .line 483
    int-to-float v0, p1

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v1, v1, p2

    mul-float/2addr v0, v1

    return v0
.end method


# virtual methods
.method protected applyOpacity(Ljavax/microedition/khronos/opengles/GL10;I)V
    .locals 8
    .parameter "gl"
    .parameter "tickPassed"

    .prologue
    const-wide/16 v6, 0x0

    .line 1496
    iget-wide v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    cmp-long v1, v1, v6

    if-lez v1, :cond_5

    .line 1497
    iget-wide v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    iget-wide v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeInitialTime:J

    cmp-long v1, v1, v3

    if-nez v1, :cond_1

    .line 1498
    iput-wide v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeInitialTime:J

    .line 1527
    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1537
    :goto_1
    return-void

    .line 1502
    :cond_1
    iget v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    iget v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeTargetOpacity:F

    iget v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    sub-float/2addr v2, v3

    int-to-float v3, p2

    iget-wide v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    long-to-float v4, v4

    div-float/2addr v3, v4

    mul-float/2addr v2, v3

    add-float v0, v1, v2

    .line 1503
    .local v0, newOpacity:F
    iget-wide v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    int-to-long v3, p2

    sub-long/2addr v1, v3

    iput-wide v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    .line 1505
    const/high16 v1, 0x3f80

    cmpl-float v1, v0, v1

    if-lez v1, :cond_3

    .line 1506
    const/high16 v0, 0x3f80

    .line 1507
    iput-wide v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    .line 1515
    :cond_2
    :goto_2
    iput v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    .line 1517
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v1, :cond_4

    .line 1518
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget v1, v1, Lcom/nemustech/tiffany/world/TFHolder;->mOpacity:F

    iget v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    mul-float/2addr v1, v2

    iput v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mOpacity:F

    .line 1524
    :goto_3
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFObject;->isInEffectAnimation()Z

    move-result v1

    if-nez v1, :cond_0

    .line 1525
    const/4 v1, 0x2

    iput v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    goto :goto_0

    .line 1509
    :cond_3
    const/4 v1, 0x0

    cmpg-float v1, v0, v1

    if-gez v1, :cond_2

    .line 1510
    const/4 v0, 0x0

    .line 1511
    iput-wide v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    goto :goto_2

    .line 1521
    :cond_4
    iget v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    iput v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mOpacity:F

    goto :goto_3

    .line 1530
    .end local v0           #newOpacity:F
    :cond_5
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v1, :cond_6

    .line 1531
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget v1, v1, Lcom/nemustech/tiffany/world/TFHolder;->mOpacity:F

    iget v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    mul-float/2addr v1, v2

    iget v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mExternalFadingFactor:F

    mul-float/2addr v1, v2

    iput v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mOpacity:F

    goto :goto_1

    .line 1534
    :cond_6
    iget v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    iget v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mExternalFadingFactor:F

    mul-float/2addr v1, v2

    iput v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mOpacity:F

    goto :goto_1
.end method

.method associateToHolder(Lcom/nemustech/tiffany/world/TFHolder;)V
    .locals 2
    .parameter "holder"

    .prologue
    .line 1715
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1716
    if-eqz p1, :cond_0

    .line 1717
    :try_start_0
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    .line 1718
    iget-object v1, p1, Lcom/nemustech/tiffany/world/TFHolder;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {p0, v1}, Lcom/nemustech/tiffany/world/TFObject;->associateToWorld(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1724
    :goto_0
    monitor-exit v0

    .line 1725
    return-void

    .line 1721
    :cond_0
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    .line 1722
    const/4 v1, 0x0

    invoke-virtual {p0, v1}, Lcom/nemustech/tiffany/world/TFObject;->associateToWorld(Lcom/nemustech/tiffany/world/TFWorld;)V

    goto :goto_0

    .line 1724
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method associateToWorld(Lcom/nemustech/tiffany/world/TFWorld;)V
    .locals 2
    .parameter "world"

    .prologue
    .line 1704
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1705
    if-eqz p1, :cond_0

    .line 1706
    :try_start_0
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    .line 1711
    :goto_0
    monitor-exit v0

    .line 1712
    return-void

    .line 1709
    :cond_0
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    goto :goto_0

    .line 1711
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V
    .locals 0
    .parameter "parentHolder"

    .prologue
    .line 1578
    return-void
.end method

.method public attachTo(Lcom/nemustech/tiffany/world/TFHolder;I)V
    .locals 0
    .parameter "parentHolder"
    .parameter "index"

    .prologue
    .line 1574
    return-void
.end method

.method public attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V
    .locals 0
    .parameter "world"

    .prologue
    .line 1582
    return-void
.end method

.method protected calcForce(FFFFI)V
    .locals 7
    .parameter "start_x"
    .parameter "start_y"
    .parameter "end_x"
    .parameter "end_y"
    .parameter "tickPassed"

    .prologue
    const/high16 v6, 0x40a0

    .line 854
    const/4 v3, 0x5

    .line 855
    .local v3, minTick:I
    const/high16 v2, 0x40a0

    .line 857
    .local v2, k:F
    sub-float v0, p3, p1

    .line 858
    .local v0, forceHorizontal:F
    sub-float v1, p4, p2

    .line 860
    .local v1, forceVertical:F
    const/4 v4, 0x5

    if-ge p5, v4, :cond_0

    const/4 p5, 0x5

    .line 862
    :cond_0
    mul-float v4, v6, v0

    iget v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mSensitivity:F

    mul-float/2addr v4, v5

    int-to-float v5, p5

    div-float/2addr v4, v5

    iput v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mForceFromSide:F

    .line 863
    mul-float v4, v6, v1

    iget v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mSensitivity:F

    mul-float/2addr v4, v5

    int-to-float v5, p5

    div-float/2addr v4, v5

    iput v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mForceFromHead:F

    .line 867
    return-void
.end method

.method protected checkEffectFinish()V
    .locals 2

    .prologue
    .line 469
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    .line 471
    const/4 v0, 0x0

    iput v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    .line 472
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectFinishListenerChecker:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 474
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    new-instance v0, Lcom/nemustech/tiffany/world/TFObject$1;

    invoke-direct {v0, p0}, Lcom/nemustech/tiffany/world/TFObject$1;-><init>(Lcom/nemustech/tiffany/world/TFObject;)V

    invoke-static {v0}, Lcom/nemustech/tiffany/world/TFWorld;->queueEvent(Ljava/lang/Runnable;)V

    .line 480
    :cond_0
    return-void
.end method

.method public clone()Ljava/lang/Object;
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/CloneNotSupportedException;
        }
    .end annotation

    .prologue
    const/4 v2, 0x3

    .line 41
    invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/nemustech/tiffany/world/TFObject;

    .line 42
    .local v0, clone:Lcom/nemustech/tiffany/world/TFObject;
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    invoke-virtual {v1}, [F->clone()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    .line 43
    new-array v1, v2, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    .line 44
    new-array v1, v2, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    .line 45
    const/4 v1, 0x6

    new-array v1, v1, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    .line 46
    new-array v1, v2, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingMiddlePoint:[F

    .line 48
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    invoke-virtual {v1}, [F->clone()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    .line 49
    new-array v1, v2, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    .line 50
    new-array v1, v2, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    .line 51
    new-array v1, v2, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mRotationAccelerator:[F

    .line 52
    new-array v1, v2, [I

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    .line 54
    const/16 v1, 0x10

    new-array v1, v1, [F

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mMatrix:[F

    .line 55
    iput-object p0, v0, Lcom/nemustech/tiffany/world/TFObject;->mOriginalTwin:Lcom/nemustech/tiffany/world/TFObject;

    .line 56
    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mCloneObject:Z

    .line 57
    const/4 v1, 0x0

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    .line 58
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    if-nez v1, :cond_0

    .line 59
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    iput-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    .line 60
    :cond_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    invoke-virtual {v1, v0}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    .line 62
    return-object v0
.end method

.method public detachFrom(Lcom/nemustech/tiffany/world/TFHolder;)V
    .locals 1
    .parameter "parentHolder"

    .prologue
    .line 1635
    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lcom/nemustech/tiffany/world/TFObject;->detachFrom(Lcom/nemustech/tiffany/world/TFHolder;Z)V

    .line 1636
    return-void
.end method

.method public detachFrom(Lcom/nemustech/tiffany/world/TFHolder;Z)V
    .locals 5
    .parameter "parentHolder"
    .parameter "bClonePlaceHolder"

    .prologue
    .line 1591
    const-class v1, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v1

    .line 1592
    const/4 v0, 0x0

    .line 1594
    .local v0, placeHolder:Lcom/nemustech/tiffany/world/TFPlaceHolder;
    :try_start_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    if-ne p1, v2, :cond_5

    if-eqz p1, :cond_5

    .line 1596
    instance-of v2, p0, Lcom/nemustech/tiffany/world/TFModel;

    if-eqz v2, :cond_3

    .line 1597
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v3, p0}, Lcom/nemustech/tiffany/world/TFHolder;->getSlotIndex(Lcom/nemustech/tiffany/world/TFObject;)I

    move-result v3

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Lcom/nemustech/tiffany/world/TFHolder;->removeModel(IZ)Lcom/nemustech/tiffany/world/TFModel;

    .line 1601
    :cond_0
    :goto_0
    instance-of v2, p1, Lcom/nemustech/tiffany/world/TFPlaceHolder;

    if-eqz v2, :cond_1

    .line 1602
    check-cast p1, Lcom/nemustech/tiffany/world/TFPlaceHolder;

    .end local p1
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->isAutoGenerated()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 1603
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget-object v3, v3, Lcom/nemustech/tiffany/world/TFHolder;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFHolder;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1606
    :cond_1
    if-eqz p2, :cond_2

    .line 1607
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFHolder;->createPlaceHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    .line 1608
    instance-of v2, p0, Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v2, :cond_2

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setTerminalHolder(Z)V

    .line 1611
    :cond_2
    const/4 v2, 0x0

    iput-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    .line 1613
    if-eqz v0, :cond_4

    .line 1614
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1615
    invoke-virtual {p0, v0}, Lcom/nemustech/tiffany/world/TFObject;->attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V

    .line 1624
    :goto_1
    monitor-exit v1

    .line 1625
    return-void

    .line 1598
    .restart local p1
    :cond_3
    instance-of v2, p0, Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v2, :cond_0

    .line 1599
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v3, p0}, Lcom/nemustech/tiffany/world/TFHolder;->getSlotIndex(Lcom/nemustech/tiffany/world/TFObject;)I

    move-result v3

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Lcom/nemustech/tiffany/world/TFHolder;->removeHolder(IZ)Lcom/nemustech/tiffany/world/TFHolder;

    goto :goto_0

    .line 1624
    .end local p1
    :catchall_0
    move-exception v2

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v2

    .line 1618
    :cond_4
    :try_start_1
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {p0, v2}, Lcom/nemustech/tiffany/world/TFObject;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    goto :goto_1

    .line 1622
    .restart local p1
    :cond_5
    new-instance v2, Ljava/lang/IllegalArgumentException;

    const-string v3, "Invalid or void parent holder"

    invoke-direct {v2, v3}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v2
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
.end method

.method public detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V
    .locals 1
    .parameter "world"

    .prologue
    .line 1694
    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lcom/nemustech/tiffany/world/TFObject;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;Z)V

    .line 1695
    return-void
.end method

.method public detachFrom(Lcom/nemustech/tiffany/world/TFWorld;Z)V
    .locals 7
    .parameter "world"
    .parameter "destroy"

    .prologue
    .line 1639
    const-class v3, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v3

    .line 1641
    :try_start_0
    iget-boolean v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneObject:Z

    if-nez v4, :cond_0

    .line 1644
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    if-eqz v4, :cond_1

    .line 1645
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    invoke-virtual {v4}, Ljava/util/LinkedList;->size()I

    move-result v0

    .line 1646
    .local v0, cloneListSize:I
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    if-ge v1, v0, :cond_1

    .line 1647
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    invoke-virtual {v4}, Ljava/util/LinkedList;->removeFirst()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/nemustech/tiffany/world/TFObject;

    .line 1648
    .local v2, o:Lcom/nemustech/tiffany/world/TFObject;
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v2, v4}, Lcom/nemustech/tiffany/world/TFObject;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 1646
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 1656
    .end local v0           #cloneListSize:I
    .end local v1           #i:I
    .end local v2           #o:Lcom/nemustech/tiffany/world/TFObject;
    :cond_0
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mOriginalTwin:Lcom/nemustech/tiffany/world/TFObject;

    iget-object v4, v4, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    invoke-virtual {v4, p0}, Ljava/util/LinkedList;->remove(Ljava/lang/Object;)Z

    .line 1659
    :cond_1
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    if-eqz v4, :cond_5

    .line 1660
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFHolder;->isTerminalHolder()Z

    move-result v4

    if-eqz v4, :cond_3

    .line 1661
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v5, p0}, Lcom/nemustech/tiffany/world/TFHolder;->getSlotIndex(Lcom/nemustech/tiffany/world/TFObject;)I

    move-result v5

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFHolder;->removeModel(IZ)Lcom/nemustech/tiffany/world/TFModel;

    .line 1665
    :goto_1
    const/4 v4, 0x0

    iput-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    .line 1666
    const/4 v4, 0x0

    iput-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    .line 1668
    if-eqz p2, :cond_2

    .line 1669
    instance-of v4, p0, Lcom/nemustech/tiffany/world/TFModel;

    if-eqz v4, :cond_4

    .line 1670
    check-cast p0, Lcom/nemustech/tiffany/world/TFModel;

    .end local p0
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFModel;->deleteAllImageResource()V

    .line 1685
    :cond_2
    :goto_2
    monitor-exit v3

    .line 1686
    return-void

    .line 1663
    .restart local p0
    :cond_3
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v5, p0}, Lcom/nemustech/tiffany/world/TFHolder;->getSlotIndex(Lcom/nemustech/tiffany/world/TFObject;)I

    move-result v5

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFHolder;->removeHolder(IZ)Lcom/nemustech/tiffany/world/TFHolder;

    goto :goto_1

    .line 1685
    .end local p0
    :catchall_0
    move-exception v4

    monitor-exit v3
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v4

    .line 1672
    .restart local p0
    :cond_4
    :try_start_1
    check-cast p0, Lcom/nemustech/tiffany/world/TFHolder;

    .end local p0
    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static {p0, v4, v5}, Lcom/nemustech/tiffany/world/TFRenderer;->removeHelper(Lcom/nemustech/tiffany/world/TFHolder;ZZ)V

    goto :goto_2

    .line 1677
    .restart local p0
    :cond_5
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v4, :cond_6

    .line 1678
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-object v4, v4, Lcom/nemustech/tiffany/world/TFWorld;->mRenderer:Lcom/nemustech/tiffany/world/TFRenderer;

    invoke-virtual {v4, p0, p2}, Lcom/nemustech/tiffany/world/TFRenderer;->remove(Lcom/nemustech/tiffany/world/TFObject;Z)V

    .line 1679
    const/4 v4, 0x0

    iput-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    goto :goto_2

    .line 1682
    :cond_6
    new-instance v4, Ljava/lang/IllegalStateException;

    const-string v5, "Tried to detach a model which is already detached from TFWorld."

    invoke-direct {v4, v5}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v4
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
.end method

.method public fade(FJ)V
    .locals 1
    .parameter "targetOpacity"
    .parameter "durationTime"

    .prologue
    .line 1488
    iput-wide p2, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeInitialTime:J

    .line 1489
    iput-wide p2, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    .line 1490
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeTargetOpacity:F

    .line 1491
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1492
    :cond_0
    return-void
.end method

.method public freeze(I)V
    .locals 5
    .parameter "velocityMask"

    .prologue
    const-wide/16 v1, 0x0

    const/4 v4, 0x0

    const/4 v3, 0x0

    .line 154
    iput-wide v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitInitialTime:J

    .line 155
    iput-wide v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    .line 158
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    const/4 v1, 0x3

    if-ge v0, v1, :cond_2

    .line 160
    and-int/lit8 v1, p1, 0x1

    if-eqz v1, :cond_0

    .line 162
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aput v3, v1, v0

    .line 163
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    aput v3, v1, v0

    .line 164
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    add-int/lit8 v2, v0, 0x3

    aput v3, v1, v2

    .line 165
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aput v3, v1, v0

    .line 166
    iput-boolean v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsMovingTargetExist:Z

    .line 169
    :cond_0
    and-int/lit8 v1, p1, 0x2

    if-eqz v1, :cond_1

    .line 171
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v3, v1, v0

    .line 172
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aput v3, v1, v0

    .line 173
    iput-boolean v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    .line 158
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 176
    :cond_2
    return-void
.end method

.method public getAbsLocation([F)V
    .locals 3
    .parameter "location"

    .prologue
    .line 1301
    const/4 v0, 0x0

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mMatrix:[F

    const/16 v2, 0xc

    aget v1, v1, v2

    aput v1, p1, v0

    .line 1302
    const/4 v0, 0x1

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mMatrix:[F

    const/16 v2, 0xd

    aget v1, v1, v2

    aput v1, p1, v0

    .line 1303
    const/4 v0, 0x2

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mMatrix:[F

    const/16 v2, 0xe

    aget v1, v1, v2

    aput v1, p1, v0

    .line 1304
    return-void
.end method

.method public getActualOpacity()F
    .locals 2

    .prologue
    .line 1471
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1472
    :try_start_0
    iget v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mOpacity:F

    monitor-exit v0

    return v1

    .line 1473
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getAngle(I)F
    .locals 1
    .parameter "axis"

    .prologue
    .line 1193
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v0, v0, p1

    return v0
.end method

.method public getAngle([F)V
    .locals 3
    .parameter "angle"

    .prologue
    const/4 v2, 0x0

    .line 1185
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v1, 0x3

    invoke-static {v0, v2, p1, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 1186
    return-void
.end method

.method public getCloneList()Ljava/util/LinkedList;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/LinkedList",
            "<",
            "Lcom/nemustech/tiffany/world/TFObject;",
            ">;"
        }
    .end annotation

    .prologue
    .line 1698
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1699
    :try_start_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneList:Ljava/util/LinkedList;

    monitor-exit v0

    return-object v1

    .line 1700
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getHeight()F
    .locals 1

    .prologue
    .line 1280
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mHeight:F

    return v0
.end method

.method public getItemIndex()I
    .locals 2

    .prologue
    .line 1556
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1557
    :try_start_0
    iget v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mItemIndex:I

    monitor-exit v0

    return v1

    .line 1558
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getLayer()Lcom/nemustech/tiffany/world/TFWorld$Layer;
    .locals 1

    .prologue
    .line 1748
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mLayer:Lcom/nemustech/tiffany/world/TFWorld$Layer;

    return-object v0
.end method

.method public getLocation(I)F
    .locals 1
    .parameter "axis"

    .prologue
    .line 1314
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v0, v0, p1

    return v0
.end method

.method public getLocation([F)V
    .locals 3
    .parameter "location"

    .prologue
    const/4 v2, 0x0

    .line 1297
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v1, 0x3

    invoke-static {v0, v2, p1, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 1298
    return-void
.end method

.method public getLockStatus()Z
    .locals 1

    .prologue
    .line 1365
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsLocked:Z

    return v0
.end method

.method public getMovingVelocity(I)F
    .locals 1
    .parameter "axis"

    .prologue
    .line 1324
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v0, v0, p1

    return v0
.end method

.method public getNextAngle(II)F
    .locals 3
    .parameter "tickPassed"
    .parameter "axis"

    .prologue
    .line 1202
    invoke-direct {p0, p1, p2}, Lcom/nemustech/tiffany/world/TFObject;->calcRotationVelocity(II)F

    move-result v1

    .line 1203
    .local v1, rotationVelocity:F
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v2, p2

    add-float/2addr v2, v1

    invoke-static {v2}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v0

    .line 1204
    .local v0, angle:F
    return v0
.end method

.method public getOpacity()F
    .locals 1

    .prologue
    .line 1449
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    return v0
.end method

.method public getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;
    .locals 2

    .prologue
    .line 1567
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1568
    :try_start_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mParentHolder:Lcom/nemustech/tiffany/world/TFHolder;

    monitor-exit v0

    return-object v1

    .line 1569
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getReservedParam(I)I
    .locals 1
    .parameter "index"

    .prologue
    .line 1775
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mReservedParam:[I

    aget v0, v0, p1

    return v0
.end method

.method public getRotatingVelocity(I)F
    .locals 1
    .parameter "axis"

    .prologue
    .line 1334
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v0, v0, p1

    return v0
.end method

.method public getSensitivity()F
    .locals 1

    .prologue
    .line 1127
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mSensitivity:F

    return v0
.end method

.method public getSizeOfReservedParam()I
    .locals 1

    .prologue
    .line 1768
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mReservedParam:[I

    if-eqz v0, :cond_0

    .line 1769
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mReservedParam:[I

    array-length v0, v0

    .line 1771
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getWeight()F
    .locals 1

    .prologue
    .line 1373
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWeight:F

    return v0
.end method

.method public getWidth()F
    .locals 1

    .prologue
    .line 1268
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWidth:F

    return v0
.end method

.method public getWorld()Lcom/nemustech/tiffany/world/TFWorld;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    return-object v0
.end method

.method public getWrapperObject()Lcom/nemustech/tiffany/world/TFObjectContainer;
    .locals 2

    .prologue
    .line 1546
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1547
    :try_start_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWrapper:Lcom/nemustech/tiffany/world/TFObjectContainer;

    monitor-exit v0

    return-object v1

    .line 1548
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public isCloneObject()Z
    .locals 2

    .prologue
    .line 74
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 75
    :try_start_0
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mCloneObject:Z

    monitor-exit v0

    return v1

    .line 76
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public isDrawable()Z
    .locals 2

    .prologue
    .line 438
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 439
    :try_start_0
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mShouldDraw:Z

    monitor-exit v0

    return v1

    .line 440
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method isGoingToStop()Z
    .locals 7

    .prologue
    const/4 v4, 0x2

    const/4 v6, 0x1

    const/4 v5, 0x0

    .line 1403
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v2, v2, v5

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v3, v3, v6

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v3

    add-float/2addr v2, v3

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v3, v3, v4

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v3

    add-float v0, v2, v3

    .line 1406
    .local v0, sumMovingVelocity:F
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v2, v2, v5

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v3, v3, v6

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v3

    add-float/2addr v2, v3

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v3, v3, v4

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v3

    add-float v1, v2, v3

    .line 1410
    .local v1, sumRotationVelocity:F
    const-string v2, "TFObject"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "sumMovingVelocity:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "  sumRotationVelocity:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 1411
    const v2, 0x3a83126f

    cmpl-float v2, v0, v2

    if-gtz v2, :cond_0

    const v2, 0x3c23d70a

    cmpl-float v2, v1, v2

    if-gtz v2, :cond_0

    move v2, v6

    :goto_0
    return v2

    :cond_0
    move v2, v5

    goto :goto_0
.end method

.method public isIgnoreMovementOnSelect()Z
    .locals 3

    .prologue
    const/4 v2, 0x1

    .line 344
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIgnoreMovementOnSelect:Z

    if-eqz v1, :cond_0

    move v1, v2

    .line 357
    :goto_0
    return v1

    .line 348
    :cond_0
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFObject;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    .line 349
    .local v0, object:Lcom/nemustech/tiffany/world/TFObject;
    :goto_1
    if-eqz v0, :cond_2

    .line 350
    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFObject;->isIgnoreMovementOnSelect()Z

    move-result v1

    if-eqz v1, :cond_1

    move v1, v2

    .line 351
    goto :goto_0

    .line 354
    :cond_1
    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFObject;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    goto :goto_1

    .line 357
    :cond_2
    const/4 v1, 0x0

    goto :goto_0
.end method

.method protected isInEffectAnimation()Z
    .locals 4

    .prologue
    const-wide/16 v2, 0x0

    .line 458
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsMovingTargetExist:Z

    if-nez v0, :cond_0

    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    if-nez v0, :cond_0

    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    cmp-long v0, v0, v2

    if-gtz v0, :cond_0

    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mMorphRemainingTime:J

    cmp-long v0, v0, v2

    if-lez v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public isVisible()Z
    .locals 1

    .prologue
    .line 1429
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mVisible:Z

    return v0
.end method

.method public locate(FFF)V
    .locals 4
    .parameter "locationX"
    .parameter "locationY"
    .parameter "locationZ"

    .prologue
    .line 104
    const-class v1, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v1

    .line 107
    const/4 v0, 0x0

    .line 109
    .local v0, bRequest:Z
    :try_start_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v3, 0x0

    aget v2, v2, v3

    cmpl-float v2, v2, p1

    if-nez v2, :cond_0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v3, 0x1

    aget v2, v2, v3

    cmpl-float v2, v2, p2

    if-nez v2, :cond_0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v3, 0x2

    aget v2, v2, v3

    cmpl-float v2, v2, p3

    if-eqz v2, :cond_1

    .line 110
    :cond_0
    const/4 v0, 0x1

    .line 112
    :cond_1
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v3, 0x0

    aput p1, v2, v3

    .line 113
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v3, 0x1

    aput p2, v2, v3

    .line 114
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v3, 0x2

    aput p3, v2, v3

    .line 116
    if-eqz v0, :cond_2

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v2, :cond_2

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 117
    :cond_2
    monitor-exit v1

    .line 118
    return-void

    .line 117
    :catchall_0
    move-exception v2

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v2
.end method

.method public locate(IFZ)V
    .locals 4
    .parameter "axis"
    .parameter "location"
    .parameter "bRelative"

    .prologue
    .line 128
    const-class v1, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v1

    .line 130
    const/4 v0, 0x0

    .line 132
    .local v0, bRequest:Z
    if-eqz p3, :cond_2

    .line 134
    :try_start_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v3, v2, p1

    add-float/2addr v3, p2

    aput v3, v2, p1

    .line 135
    const/4 v2, 0x0

    cmpl-float v2, p2, v2

    if-eqz v2, :cond_0

    const/4 v0, 0x1

    .line 142
    :cond_0
    :goto_0
    if-eqz v0, :cond_1

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 143
    :cond_1
    monitor-exit v1

    .line 144
    return-void

    .line 139
    :cond_2
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v2, v2, p1

    cmpl-float v2, v2, p2

    if-eqz v2, :cond_3

    const/4 v0, 0x1

    .line 140
    :cond_3
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aput p2, v2, p1

    goto :goto_0

    .line 143
    :catchall_0
    move-exception v2

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v2
.end method

.method public lock()V
    .locals 1

    .prologue
    .line 1347
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsLocked:Z

    .line 1348
    return-void
.end method

.method public look(FF)V
    .locals 6
    .parameter "angleX"
    .parameter "angleY"

    .prologue
    .line 881
    const-class v3, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v3

    .line 883
    const/4 v0, 0x0

    .line 884
    .local v0, bRequest:Z
    :try_start_0
    invoke-static {p1}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v1

    .line 885
    .local v1, newAngleX:F
    invoke-static {p2}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v2

    .line 887
    .local v2, newAngleY:F
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v5, 0x0

    aget v4, v4, v5

    cmpl-float v4, v4, v1

    if-nez v4, :cond_0

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v5, 0x1

    aget v4, v4, v5

    cmpl-float v4, v4, v2

    if-eqz v4, :cond_1

    :cond_0
    const/4 v0, 0x1

    .line 889
    :cond_1
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v5, 0x0

    aput v1, v4, v5

    .line 890
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v5, 0x1

    aput v2, v4, v5

    .line 892
    if-eqz v0, :cond_2

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v4, :cond_2

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 893
    :cond_2
    monitor-exit v3

    .line 894
    return-void

    .line 893
    .end local v1           #newAngleX:F
    .end local v2           #newAngleY:F
    :catchall_0
    move-exception v4

    monitor-exit v3
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v4
.end method

.method public move(FFFF)V
    .locals 8
    .parameter "locationX"
    .parameter "locationY"
    .parameter "locationZ"
    .parameter "speed"

    .prologue
    .line 218
    const/high16 v6, 0x3f00

    move-object v0, p0

    move v1, p1

    move v2, p2

    move v3, p3

    move v4, p4

    move v5, p4

    move v7, p4

    invoke-virtual/range {v0 .. v7}, Lcom/nemustech/tiffany/world/TFObject;->move(FFFFFFF)V

    .line 219
    return-void
.end method

.method public move(FFFFFFF)V
    .locals 19
    .parameter "locationX"
    .parameter "locationY"
    .parameter "locationZ"
    .parameter "startingSpeed"
    .parameter "middleSpeed"
    .parameter "inflectionPoint"
    .parameter "endingSpeed"

    .prologue
    .line 238
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    move-object v15, v0

    const/16 v16, 0x0

    aput p1, v15, v16

    .line 239
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    move-object v15, v0

    const/16 v16, 0x1

    aput p2, v15, v16

    .line 240
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    move-object v15, v0

    const/16 v16, 0x2

    aput p3, v15, v16

    .line 242
    const/4 v15, 0x3

    new-array v4, v15, [F

    .line 243
    .local v4, deviation:[F
    const/4 v6, 0x0

    .local v6, i:I
    :goto_0
    const/4 v15, 0x3

    if-ge v6, v15, :cond_0

    .line 244
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    move-object v15, v0

    aget v15, v15, v6

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    move-object/from16 v16, v0

    aget v16, v16, v6

    sub-float v15, v15, v16

    invoke-static {v15}, Ljava/lang/Math;->abs(F)F

    move-result v15

    aput v15, v4, v6

    .line 243
    add-int/lit8 v6, v6, 0x1

    goto :goto_0

    .line 246
    :cond_0
    const/4 v15, 0x0

    aget v15, v4, v15

    const/16 v16, 0x0

    aget v16, v4, v16

    mul-float v15, v15, v16

    const/16 v16, 0x1

    aget v16, v4, v16

    const/16 v17, 0x1

    aget v17, v4, v17

    mul-float v16, v16, v17

    add-float v15, v15, v16

    const/16 v16, 0x2

    aget v16, v4, v16

    const/16 v17, 0x2

    aget v17, v4, v17

    mul-float v16, v16, v17

    add-float v15, v15, v16

    float-to-double v15, v15

    invoke-static/range {v15 .. v16}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v15

    double-to-float v14, v15

    .line 250
    .local v14, wholeDistance:F
    invoke-static/range {p4 .. p4}, Ljava/lang/Math;->abs(F)F

    move-result v13

    .line 251
    .local v13, vs:F
    invoke-static/range {p5 .. p5}, Ljava/lang/Math;->abs(F)F

    move-result v12

    .line 252
    .local v12, vm:F
    invoke-static/range {p7 .. p7}, Ljava/lang/Math;->abs(F)F

    move-result v11

    .line 253
    .local v11, ve:F
    move/from16 v7, p6

    .line 255
    .local v7, ip:F
    const/4 v15, 0x3

    new-array v8, v15, [F

    .line 257
    .local v8, mp:[F
    const/4 v15, 0x0

    cmpl-float v15, p6, v15

    if-eqz v15, :cond_1

    const/high16 v15, 0x3f80

    cmpl-float v15, p6, v15

    if-nez v15, :cond_2

    .line 258
    :cond_1
    const/4 v15, 0x0

    cmpl-float v15, p6, v15

    if-nez v15, :cond_3

    .line 259
    move/from16 v13, p5

    .line 260
    move/from16 v12, p7

    .line 266
    :goto_1
    const/high16 v7, 0x3f00

    .line 269
    :cond_2
    const/4 v6, 0x0

    :goto_2
    const/4 v15, 0x3

    if-ge v6, v15, :cond_4

    .line 270
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    move-object v15, v0

    aget v16, v4, v6

    mul-float v16, v16, p4

    div-float v16, v16, v14

    aput v16, v15, v6

    .line 271
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingMiddlePoint:[F

    move-object v15, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    move-object/from16 v16, v0

    aget v16, v16, v6

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    move-object/from16 v17, v0

    aget v17, v17, v6

    sub-float v16, v16, v17

    mul-float v16, v16, v7

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    move-object/from16 v17, v0

    aget v17, v17, v6

    add-float v16, v16, v17

    aput v16, v15, v6

    .line 269
    add-int/lit8 v6, v6, 0x1

    goto :goto_2

    .line 263
    :cond_3
    move/from16 v12, p4

    .line 264
    move/from16 v11, p5

    goto :goto_1

    .line 274
    :cond_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingMiddlePoint:[F

    move-object v8, v0

    .line 275
    const/4 v15, 0x0

    cmpl-float v15, p6, v15

    if-eqz v15, :cond_5

    const/high16 v15, 0x3f80

    cmpl-float v15, p6, v15

    if-nez v15, :cond_6

    .line 276
    :cond_5
    const/4 v15, 0x0

    cmpl-float v15, p6, v15

    if-nez v15, :cond_7

    .line 277
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    move-object v8, v0

    .line 282
    :cond_6
    :goto_3
    const/4 v15, 0x6

    new-array v5, v15, [F

    .line 283
    .local v5, dist:[F
    const/4 v6, 0x0

    :goto_4
    const/4 v15, 0x3

    if-ge v6, v15, :cond_8

    .line 284
    aget v15, v8, v6

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    move-object/from16 v16, v0

    aget v16, v16, v6

    sub-float v15, v15, v16

    aput v15, v5, v6

    .line 285
    add-int/lit8 v15, v6, 0x3

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    move-object/from16 v16, v0

    aget v16, v16, v6

    aget v17, v8, v6

    sub-float v16, v16, v17

    aput v16, v5, v15

    .line 283
    add-int/lit8 v6, v6, 0x1

    goto :goto_4

    .line 279
    .end local v5           #dist:[F
    :cond_7
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    move-object v8, v0

    goto :goto_3

    .line 288
    .restart local v5       #dist:[F
    :cond_8
    const/4 v15, 0x0

    aget v15, v5, v15

    const/16 v16, 0x0

    aget v16, v5, v16

    mul-float v15, v15, v16

    const/16 v16, 0x1

    aget v16, v5, v16

    const/16 v17, 0x1

    aget v17, v5, v17

    mul-float v16, v16, v17

    add-float v15, v15, v16

    const/16 v16, 0x2

    aget v16, v5, v16

    const/16 v17, 0x2

    aget v17, v5, v17

    mul-float v16, v16, v17

    add-float v15, v15, v16

    float-to-double v15, v15

    invoke-static/range {v15 .. v16}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v15

    double-to-float v2, v15

    .line 291
    .local v2, d1:F
    const/4 v15, 0x3

    aget v15, v5, v15

    const/16 v16, 0x3

    aget v16, v5, v16

    mul-float v15, v15, v16

    const/16 v16, 0x4

    aget v16, v5, v16

    const/16 v17, 0x4

    aget v17, v5, v17

    mul-float v16, v16, v17

    add-float v15, v15, v16

    const/16 v16, 0x5

    aget v16, v5, v16

    const/16 v17, 0x5

    aget v17, v5, v17

    mul-float v16, v16, v17

    add-float v15, v15, v16

    float-to-double v15, v15

    invoke-static/range {v15 .. v16}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v15

    double-to-float v3, v15

    .line 295
    .local v3, d2:F
    const/high16 v15, 0x4000

    mul-float/2addr v15, v2

    add-float v16, v13, v12

    div-float v15, v15, v16

    invoke-static {v15}, Ljava/lang/Math;->abs(F)F

    move-result v9

    .line 296
    .local v9, t1:F
    const/high16 v15, 0x4000

    mul-float/2addr v15, v3

    add-float v16, v12, v11

    div-float v15, v15, v16

    invoke-static {v15}, Ljava/lang/Math;->abs(F)F

    move-result v10

    .line 298
    .local v10, t2:F
    const/4 v6, 0x0

    :goto_5
    array-length v15, v4

    if-ge v6, v15, :cond_9

    .line 299
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    sub-float v16, v12, v13

    div-float v16, v16, v9

    aget v17, v4, v6

    mul-float v16, v16, v17

    div-float v16, v16, v14

    aput v16, v15, v6

    .line 300
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    add-int/lit8 v16, v6, 0x3

    sub-float v17, v11, v12

    div-float v17, v17, v10

    aget v18, v4, v6

    mul-float v17, v17, v18

    div-float v17, v17, v14

    aput v17, v15, v16

    .line 298
    add-int/lit8 v6, v6, 0x1

    goto :goto_5

    .line 303
    :cond_9
    const/4 v15, 0x0

    cmpl-float v15, p6, v15

    if-eqz v15, :cond_a

    const/high16 v15, 0x3f80

    cmpl-float v15, p6, v15

    if-nez v15, :cond_b

    .line 304
    :cond_a
    const/4 v15, 0x0

    cmpl-float v15, p6, v15

    if-nez v15, :cond_c

    .line 305
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    const/16 v16, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object/from16 v17, v0

    const/16 v18, 0x3

    aget v17, v17, v18

    aput v17, v15, v16

    .line 306
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    const/16 v16, 0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object/from16 v17, v0

    const/16 v18, 0x4

    aget v17, v17, v18

    aput v17, v15, v16

    .line 307
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    const/16 v16, 0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object/from16 v17, v0

    const/16 v18, 0x5

    aget v17, v17, v18

    aput v17, v15, v16

    .line 315
    :cond_b
    :goto_6
    const/4 v15, 0x0

    move v0, v15

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/tiffany/world/TFObject;->mIsCorrectAccelerator:Z

    .line 316
    move/from16 v0, p7

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFObject;->mEndingSpeed:F

    .line 317
    move v0, v10

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFObject;->mMovingDuration:F

    .line 319
    const/4 v15, 0x1

    move v0, v15

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/tiffany/world/TFObject;->mIsMovingTargetExist:Z

    .line 320
    const/4 v15, 0x1

    move v0, v15

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    .line 321
    const/4 v15, 0x1

    move v0, v15

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    .line 322
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    move-object v15, v0

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 323
    return-void

    .line 309
    :cond_c
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    const/16 v16, 0x3

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object/from16 v17, v0

    const/16 v18, 0x0

    aget v17, v17, v18

    aput v17, v15, v16

    .line 310
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    const/16 v16, 0x4

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object/from16 v17, v0

    const/16 v18, 0x1

    aget v17, v17, v18

    aput v17, v15, v16

    .line 311
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object v15, v0

    const/16 v16, 0x5

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    move-object/from16 v17, v0

    const/16 v18, 0x2

    aget v17, v17, v18

    aput v17, v15, v16

    goto :goto_6
.end method

.method public move(FFFJ)V
    .locals 10
    .parameter "locationX"
    .parameter "locationY"
    .parameter "locationZ"
    .parameter "duration"

    .prologue
    const/4 v3, 0x2

    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 362
    const/4 v0, 0x3

    new-array v8, v0, [F

    .line 364
    .local v8, dist:[F
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v0, v0, v1

    sub-float v0, p1, v0

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    aput v0, v8, v1

    .line 365
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v0, v0, v2

    sub-float v0, p2, v0

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    aput v0, v8, v2

    .line 366
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v0, v0, v3

    sub-float v0, p3, v0

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    aput v0, v8, v3

    .line 368
    aget v0, v8, v1

    aget v1, v8, v1

    mul-float/2addr v0, v1

    aget v1, v8, v2

    aget v2, v8, v2

    mul-float/2addr v1, v2

    add-float/2addr v0, v1

    aget v1, v8, v3

    aget v2, v8, v3

    mul-float/2addr v1, v2

    add-float/2addr v0, v1

    float-to-double v0, v0

    invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v0

    double-to-float v9, v0

    .line 371
    .local v9, distance:F
    long-to-float v0, p4

    div-float v4, v9, v0

    .line 373
    .local v4, speed:F
    const/high16 v6, 0x3f00

    move-object v0, p0

    move v1, p1

    move v2, p2

    move v3, p3

    move v5, v4

    move v7, v4

    invoke-virtual/range {v0 .. v7}, Lcom/nemustech/tiffany/world/TFObject;->move(FFFFFFF)V

    .line 374
    return-void
.end method

.method public move(IFFZ)V
    .locals 5
    .parameter "axis"
    .parameter "newLocation"
    .parameter "speed"
    .parameter "bRelative"

    .prologue
    const/4 v3, 0x3

    .line 187
    new-array v1, v3, [F

    .line 189
    .local v1, targetLocation:[F
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    if-ge v0, v3, :cond_2

    .line 191
    if-ne v0, p1, :cond_1

    .line 193
    if-eqz p4, :cond_0

    .line 194
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v2, v2, v0

    add-float/2addr v2, p2

    aput v2, v1, v0

    .line 189
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 196
    :cond_0
    aput p2, v1, v0

    goto :goto_1

    .line 200
    :cond_1
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v2, v2, v0

    aput v2, v1, v0

    goto :goto_1

    .line 204
    :cond_2
    const/4 v2, 0x0

    aget v2, v1, v2

    const/4 v3, 0x1

    aget v3, v1, v3

    const/4 v4, 0x2

    aget v4, v1, v4

    invoke-virtual {p0, v2, v3, v4, p3}, Lcom/nemustech/tiffany/world/TFObject;->move(FFFF)V

    .line 205
    return-void
.end method

.method protected onFinishEffect()V
    .locals 3

    .prologue
    .line 445
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    if-eqz v0, :cond_2

    .line 446
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectFinishListenerChecker:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    if-eq v0, v1, :cond_1

    .line 447
    const-string v0, "TFObject"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "OnEffectFinish for "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " has been discarded due to listener change."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 454
    :cond_0
    :goto_0
    return-void

    .line 450
    :cond_1
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    invoke-interface {v0, p0}, Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;->onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V

    goto :goto_0

    .line 452
    :cond_2
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFWorld;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    if-eqz v0, :cond_0

    .line 453
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-object v0, v0, Lcom/nemustech/tiffany/world/TFWorld;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    invoke-interface {v0, p0}, Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;->onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V

    goto :goto_0
.end method

.method protected onFinishMove()V
    .locals 1

    .prologue
    .line 377
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/nemustech/tiffany/world/TFObject;->freeze(I)V

    .line 379
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFObject;->isInEffectAnimation()Z

    move-result v0

    if-nez v0, :cond_0

    .line 380
    const/4 v0, 0x2

    iput v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    .line 381
    :cond_0
    return-void
.end method

.method protected onFinishRotate()V
    .locals 2

    .prologue
    const/4 v1, 0x2

    .line 1143
    invoke-virtual {p0, v1}, Lcom/nemustech/tiffany/world/TFObject;->freeze(I)V

    .line 1144
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    .line 1146
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFObject;->isInEffectAnimation()Z

    move-result v0

    if-nez v0, :cond_0

    .line 1147
    iput v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    .line 1148
    :cond_0
    return-void
.end method

.method public prepareReservedParam(I)V
    .locals 1
    .parameter "count"

    .prologue
    .line 1764
    new-array v0, p1, [I

    iput-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mReservedParam:[I

    .line 1765
    return-void
.end method

.method protected prvRotate(Ljavax/microedition/khronos/opengles/GL10;IZ)V
    .locals 10
    .parameter "gl"
    .parameter "tickPassed"
    .parameter "bDoGLCalc"

    .prologue
    const/4 v9, 0x1

    const/4 v8, 0x0

    const/high16 v7, 0x3f80

    const/high16 v6, 0x43b4

    const/4 v5, 0x0

    .line 489
    iget-wide v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    const-wide/16 v3, 0x0

    cmp-long v1, v1, v3

    if-gtz v1, :cond_12

    .line 491
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    const/4 v1, 0x3

    if-ge v0, v1, :cond_f

    .line 493
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v1, v1, v0

    cmpl-float v1, v1, v5

    if-nez v1, :cond_0

    .line 491
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 496
    :cond_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 498
    invoke-direct {p0, p2, v0}, Lcom/nemustech/tiffany/world/TFObject;->calcRotationVelocity(II)F

    move-result v1

    sput v1, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    .line 500
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    if-eqz v1, :cond_c

    .line 502
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    aget v1, v1, v0

    packed-switch v1, :pswitch_data_0

    .line 640
    :cond_1
    :goto_2
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    if-nez v1, :cond_2

    .line 643
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-boolean v1, v1, Lcom/nemustech/tiffany/world/TFWorld;->mTouchDown:Z

    if-eqz v1, :cond_d

    .line 644
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v1, v1, v0

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    const v2, 0x3f4ccccd

    mul-float/2addr v1, v2

    sput v1, Lcom/nemustech/tiffany/world/TFObject;->gRotationResistency:F

    .line 648
    :goto_3
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v1, v1, v0

    cmpl-float v1, v1, v5

    if-lez v1, :cond_e

    .line 650
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationResistency:F

    sub-float/2addr v2, v3

    aput v2, v1, v0

    .line 651
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v1, v1, v0

    cmpg-float v1, v1, v5

    if-gez v1, :cond_2

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    .line 660
    :cond_2
    :goto_4
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v2, v0

    invoke-static {v2}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v2

    aput v2, v1, v0

    goto :goto_1

    .line 505
    :pswitch_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpl-float v1, v1, v2

    if-lez v1, :cond_4

    .line 507
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    sub-float/2addr v1, v2

    const/high16 v2, 0x4334

    cmpl-float v1, v1, v2

    if-lez v1, :cond_3

    .line 509
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    .line 510
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    cmpl-float v1, v1, v6

    if-ltz v1, :cond_1

    .line 512
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sub-float/2addr v2, v6

    aput v2, v1, v0

    .line 513
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_1

    .line 515
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 516
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 522
    :cond_3
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    sub-float/2addr v2, v3

    aput v2, v1, v0

    .line 523
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpg-float v1, v1, v2

    if-gtz v1, :cond_1

    .line 525
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 526
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 530
    :cond_4
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpg-float v1, v1, v2

    if-gez v1, :cond_1

    .line 532
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v2, v0

    sub-float/2addr v1, v2

    const/high16 v2, 0x4334

    cmpl-float v1, v1, v2

    if-lez v1, :cond_5

    .line 534
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    sub-float/2addr v2, v3

    aput v2, v1, v0

    .line 535
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    cmpg-float v1, v1, v5

    if-gez v1, :cond_1

    .line 537
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    add-float/2addr v2, v6

    aput v2, v1, v0

    .line 538
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpg-float v1, v1, v2

    if-gtz v1, :cond_1

    .line 540
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 541
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 547
    :cond_5
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    .line 548
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_1

    .line 550
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 551
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 557
    :pswitch_1
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpl-float v1, v1, v2

    if-lez v1, :cond_8

    .line 559
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    .line 560
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    cmpg-float v1, v1, v5

    if-gez v1, :cond_6

    .line 562
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v1, v1, v0

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    const v2, 0x38d1b717

    cmpg-float v1, v1, v2

    if-gez v1, :cond_7

    .line 564
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 565
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    .line 573
    :cond_6
    :goto_5
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpg-float v1, v1, v2

    if-gtz v1, :cond_1

    .line 575
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 576
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 569
    :cond_7
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    add-float/2addr v2, v6

    aput v2, v1, v0

    .line 570
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v1, v0

    add-float/2addr v2, v6

    aput v2, v1, v0

    goto :goto_5

    .line 580
    :cond_8
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpg-float v1, v1, v2

    if-gez v1, :cond_1

    .line 582
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    .line 583
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    cmpg-float v1, v1, v5

    if-gez v1, :cond_1

    .line 585
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    add-float/2addr v2, v6

    aput v2, v1, v0

    .line 587
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpg-float v1, v1, v2

    if-gtz v1, :cond_1

    .line 589
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 590
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 596
    :pswitch_2
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpl-float v1, v1, v2

    if-lez v1, :cond_9

    .line 598
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    .line 599
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    cmpl-float v1, v1, v6

    if-ltz v1, :cond_1

    .line 601
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sub-float/2addr v2, v6

    aput v2, v1, v0

    .line 602
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_1

    .line 604
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 605
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 609
    :cond_9
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpg-float v1, v1, v2

    if-gez v1, :cond_1

    .line 611
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    .line 612
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v1, v1, v0

    cmpl-float v1, v1, v6

    if-ltz v1, :cond_a

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    cmpl-float v1, v1, v6

    if-ltz v1, :cond_a

    .line 614
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v1, v1, v0

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    sub-float/2addr v1, v6

    const v2, 0x38d1b717

    cmpg-float v1, v1, v2

    if-gez v1, :cond_b

    .line 616
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aput v5, v2, v0

    aput v5, v1, v0

    .line 617
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    .line 625
    :cond_a
    :goto_6
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v0

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    cmpl-float v1, v1, v2

    if-ltz v1, :cond_1

    .line 627
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    aput v2, v1, v0

    .line 628
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_2

    .line 621
    :cond_b
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sub-float/2addr v2, v6

    aput v2, v1, v0

    .line 622
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v1, v0

    sub-float/2addr v2, v6

    aput v2, v1, v0

    goto :goto_6

    .line 636
    :cond_c
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationVelocity:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    goto/16 :goto_2

    .line 646
    :cond_d
    iget v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationResistency:F

    sput v1, Lcom/nemustech/tiffany/world/TFObject;->gRotationResistency:F

    goto/16 :goto_3

    .line 653
    :cond_e
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v1, v1, v0

    cmpg-float v1, v1, v5

    if-gez v1, :cond_2

    .line 655
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v2, v1, v0

    sget v3, Lcom/nemustech/tiffany/world/TFObject;->gRotationResistency:F

    add-float/2addr v2, v3

    aput v2, v1, v0

    .line 656
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aget v1, v1, v0

    cmpl-float v1, v1, v5

    if-lez v1, :cond_2

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    aput v5, v1, v0

    goto/16 :goto_4

    .line 663
    :cond_f
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    if-eqz v1, :cond_10

    .line 665
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v8

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v8

    cmpl-float v1, v1, v2

    if-nez v1, :cond_10

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v9

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v9

    cmpl-float v1, v1, v2

    if-nez v1, :cond_10

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v2, 0x2

    aget v1, v1, v2

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v3, 0x2

    aget v2, v2, v3

    cmpl-float v1, v1, v2

    if-nez v1, :cond_10

    .line 669
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFObject;->onFinishRotate()V

    .line 679
    .end local v0           #i:I
    :cond_10
    :goto_7
    if-eqz p3, :cond_11

    .line 681
    iget-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateYFirst:Z

    if-eqz v1, :cond_13

    .line 683
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v9

    invoke-interface {p1, v1, v7, v5, v5}, Ljavax/microedition/khronos/opengles/GL10;->glRotatef(FFFF)V

    .line 684
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v8

    invoke-interface {p1, v1, v5, v7, v5}, Ljavax/microedition/khronos/opengles/GL10;->glRotatef(FFFF)V

    .line 693
    :goto_8
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v2, 0x2

    aget v1, v1, v2

    invoke-interface {p1, v1, v5, v5, v7}, Ljavax/microedition/khronos/opengles/GL10;->glRotatef(FFFF)V

    .line 695
    :cond_11
    return-void

    .line 676
    :cond_12
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    goto :goto_7

    .line 688
    :cond_13
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v8

    invoke-interface {p1, v1, v5, v7, v5}, Ljavax/microedition/khronos/opengles/GL10;->glRotatef(FFFF)V

    .line 689
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v1, v1, v9

    invoke-interface {p1, v1, v7, v5, v5}, Ljavax/microedition/khronos/opengles/GL10;->glRotatef(FFFF)V

    goto :goto_8

    .line 502
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method protected prvTranslate(Ljavax/microedition/khronos/opengles/GL10;IZ)V
    .locals 12
    .parameter "gl"
    .parameter "tickPassed"
    .parameter "bDoGLCalc"

    .prologue
    .line 699
    const/4 v1, 0x0

    .line 703
    .local v1, distance:F
    iget-wide v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    const-wide/16 v10, 0x0

    cmp-long v8, v8, v10

    if-gtz v8, :cond_14

    .line 705
    const/4 v3, 0x0

    .local v3, i:I
    :goto_0
    const/4 v8, 0x3

    if-ge v3, v8, :cond_11

    .line 707
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpl-float v8, v8, v9

    if-nez v8, :cond_1

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpl-float v8, v8, v9

    if-nez v8, :cond_1

    .line 705
    :cond_0
    :goto_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 710
    :cond_1
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 714
    int-to-float v8, p2

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v9, v9, v3

    mul-float v1, v8, v9

    .line 718
    iget-boolean v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsMovingTargetExist:Z

    if-eqz v8, :cond_f

    .line 721
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpl-float v8, v8, v9

    if-nez v8, :cond_2

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    add-int/lit8 v9, v3, 0x3

    aget v8, v8, v9

    const/4 v9, 0x0

    cmpl-float v8, v8, v9

    if-eqz v8, :cond_5

    .line 723
    :cond_2
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    cmpl-float v8, v8, v9

    if-lez v8, :cond_3

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingMiddlePoint:[F

    aget v9, v9, v3

    cmpl-float v8, v8, v9

    if-gtz v8, :cond_4

    :cond_3
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    cmpg-float v8, v8, v9

    if-gez v8, :cond_b

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingMiddlePoint:[F

    aget v9, v9, v3

    cmpg-float v8, v8, v9

    if-gez v8, :cond_b

    .line 727
    :cond_4
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v9, v8, v3

    iget-object v10, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    aget v10, v10, v3

    add-float/2addr v9, v10

    aput v9, v8, v3

    .line 770
    :goto_2
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpg-float v8, v8, v9

    if-gtz v8, :cond_5

    .line 772
    const-string v8, "TFObject"

    const-string v9, "Alas!! You hit the road. Please report this to joshua@nemustech.com"

    invoke-static {v8, v9}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 773
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v9, v8, v3

    iget-object v10, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    add-int/lit8 v11, v3, 0x3

    aget v10, v10, v11

    sub-float/2addr v9, v10

    aput v9, v8, v3

    .line 777
    :cond_5
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    cmpl-float v8, v8, v9

    if-lez v8, :cond_7

    .line 779
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v9, v8, v3

    sub-float/2addr v9, v1

    aput v9, v8, v3

    .line 780
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    cmpg-float v8, v8, v9

    if-ltz v8, :cond_6

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    sub-float/2addr v8, v9

    invoke-static {v8}, Ljava/lang/Math;->abs(F)F

    move-result v8

    const v9, 0x358637bd

    cmpg-float v8, v8, v9

    if-gez v8, :cond_7

    .line 781
    :cond_6
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    aput v9, v8, v3

    .line 783
    :cond_7
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    cmpg-float v8, v8, v9

    if-gez v8, :cond_8

    .line 785
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v9, v8, v3

    add-float/2addr v9, v1

    aput v9, v8, v3

    .line 786
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    cmpl-float v8, v8, v9

    if-lez v8, :cond_8

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    aput v9, v8, v3

    .line 791
    :cond_8
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v8, v8, v3

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v9, v9, v3

    sub-float/2addr v8, v9

    invoke-static {v8}, Ljava/lang/Math;->abs(F)F

    move-result v2

    .line 792
    .local v2, gap:F
    const v8, 0x38d1b717

    cmpg-float v8, v2, v8

    if-gez v8, :cond_9

    .line 793
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v9, v9, v3

    aput v9, v8, v3

    .line 802
    .end local v2           #gap:F
    :cond_9
    :goto_3
    iget-boolean v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    if-nez v8, :cond_0

    .line 805
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    iget-boolean v8, v8, Lcom/nemustech/tiffany/world/TFWorld;->mTouchDown:Z

    if-eqz v8, :cond_10

    .line 806
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v8, v8, v3

    invoke-static {v8}, Ljava/lang/Math;->abs(F)F

    move-result v8

    const v9, 0x3f4ccccd

    mul-float v6, v8, v9

    .line 810
    .local v6, translateResistency:F
    :goto_4
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpl-float v8, v8, v9

    if-lez v8, :cond_a

    .line 812
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v9, v8, v3

    sub-float/2addr v9, v6

    aput v9, v8, v3

    .line 813
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpg-float v8, v8, v9

    if-gez v8, :cond_a

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v9, 0x0

    aput v9, v8, v3

    .line 815
    :cond_a
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpg-float v8, v8, v9

    if-gez v8, :cond_0

    .line 817
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v9, v8, v3

    add-float/2addr v9, v6

    aput v9, v8, v3

    .line 818
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v8, v8, v3

    const/4 v9, 0x0

    cmpl-float v8, v8, v9

    if-lez v8, :cond_0

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v9, 0x0

    aput v9, v8, v3

    goto/16 :goto_1

    .line 737
    .end local v6           #translateResistency:F
    :cond_b
    iget-boolean v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsCorrectAccelerator:Z

    if-nez v8, :cond_e

    .line 739
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v9, 0x0

    aget v8, v8, v9

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v10, 0x0

    aget v9, v9, v10

    mul-float/2addr v8, v9

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v10, 0x1

    aget v9, v9, v10

    iget-object v10, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v11, 0x1

    aget v10, v10, v11

    mul-float/2addr v9, v10

    add-float/2addr v8, v9

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v10, 0x2

    aget v9, v9, v10

    iget-object v10, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v11, 0x2

    aget v10, v10, v11

    mul-float/2addr v9, v10

    add-float/2addr v8, v9

    float-to-double v8, v8

    invoke-static {v8, v9}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v8

    double-to-float v5, v8

    .line 743
    .local v5, realMiddleSpeed:F
    const/4 v8, 0x3

    new-array v0, v8, [F

    .line 744
    .local v0, deviation:[F
    const/4 v4, 0x0

    .local v4, j:I
    :goto_5
    const/4 v8, 0x3

    if-ge v4, v8, :cond_c

    .line 745
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    aget v8, v8, v4

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v9, v9, v4

    sub-float/2addr v8, v9

    invoke-static {v8}, Ljava/lang/Math;->abs(F)F

    move-result v8

    aput v8, v0, v4

    .line 744
    add-int/lit8 v4, v4, 0x1

    goto :goto_5

    .line 747
    :cond_c
    const/4 v8, 0x0

    aget v8, v0, v8

    const/4 v9, 0x0

    aget v9, v0, v9

    mul-float/2addr v8, v9

    const/4 v9, 0x1

    aget v9, v0, v9

    const/4 v10, 0x1

    aget v10, v0, v10

    mul-float/2addr v9, v10

    add-float/2addr v8, v9

    const/4 v9, 0x2

    aget v9, v0, v9

    const/4 v10, 0x2

    aget v10, v0, v10

    mul-float/2addr v9, v10

    add-float/2addr v8, v9

    invoke-static {v8}, Ljava/lang/Math;->abs(F)F

    move-result v7

    .line 751
    .local v7, wholeDistance:F
    const/4 v4, 0x0

    :goto_6
    const/4 v8, 0x3

    if-ge v4, v8, :cond_d

    .line 752
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    add-int/lit8 v9, v4, 0x3

    iget v10, p0, Lcom/nemustech/tiffany/world/TFObject;->mEndingSpeed:F

    sub-float/2addr v10, v5

    iget v11, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingDuration:F

    div-float/2addr v10, v11

    aget v11, v0, v4

    div-float/2addr v11, v7

    mul-float/2addr v10, v11

    aput v10, v8, v9

    .line 753
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingMiddlePoint:[F

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v9, v9, v4

    aput v9, v8, v4

    .line 751
    add-int/lit8 v4, v4, 0x1

    goto :goto_6

    .line 756
    :cond_d
    const/4 v8, 0x1

    iput-boolean v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsCorrectAccelerator:Z

    .line 761
    .end local v0           #deviation:[F
    .end local v4           #j:I
    .end local v5           #realMiddleSpeed:F
    .end local v7           #wholeDistance:F
    :cond_e
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    aget v9, v8, v3

    iget-object v10, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingAccelerator:[F

    add-int/lit8 v11, v3, 0x3

    aget v10, v10, v11

    add-float/2addr v9, v10

    aput v9, v8, v3

    goto/16 :goto_2

    .line 798
    :cond_f
    const-string v8, "TFObject"

    const-string v9, "no target"

    invoke-static {v8, v9}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 799
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    aget v9, v8, v3

    add-float/2addr v9, v1

    aput v9, v8, v3

    goto/16 :goto_3

    .line 808
    :cond_10
    iget v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mTranslateResistency:F

    .restart local v6       #translateResistency:F
    goto/16 :goto_4

    .line 823
    .end local v6           #translateResistency:F
    :cond_11
    iget-boolean v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsMovingTargetExist:Z

    if-eqz v8, :cond_12

    .line 825
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v9, 0x0

    aget v8, v8, v9

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    const/4 v10, 0x0

    aget v9, v9, v10

    cmpl-float v8, v8, v9

    if-nez v8, :cond_12

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v9, 0x1

    aget v8, v8, v9

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    const/4 v10, 0x1

    aget v9, v9, v10

    cmpl-float v8, v8, v9

    if-nez v8, :cond_12

    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v9, 0x2

    aget v8, v8, v9

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mPosMovingTarget:[F

    const/4 v10, 0x2

    aget v9, v9, v10

    cmpl-float v8, v8, v9

    if-nez v8, :cond_12

    .line 829
    invoke-virtual {p0}, Lcom/nemustech/tiffany/world/TFObject;->onFinishMove()V

    .line 838
    .end local v3           #i:I
    :cond_12
    :goto_7
    if-eqz p3, :cond_13

    .line 840
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v9, 0x0

    aget v8, v8, v9

    iget-object v9, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v10, 0x1

    aget v9, v9, v10

    iget-object v10, p0, Lcom/nemustech/tiffany/world/TFObject;->mLocation:[F

    const/4 v11, 0x2

    aget v10, v10, v11

    invoke-interface {p1, v8, v9, v10}, Ljavax/microedition/khronos/opengles/GL10;->glTranslatef(FFF)V

    .line 849
    :cond_13
    return-void

    .line 835
    :cond_14
    iget-object v8, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    goto :goto_7
.end method

.method public rotate(FFF)V
    .locals 10
    .parameter "distanceX"
    .parameter "distanceY"
    .parameter "speed"

    .prologue
    const/4 v2, 0x2

    const/4 v5, 0x1

    const/4 v3, 0x0

    .line 908
    new-array v9, v2, [F

    .line 909
    .local v9, targetDegree:[F
    new-array v7, v2, [F

    .line 910
    .local v7, distance:[F
    new-array v6, v2, [I

    .line 912
    .local v6, directions:[I
    aput p1, v7, v3

    .line 913
    aput p2, v7, v5

    .line 915
    const/4 v8, 0x0

    .local v8, i:I
    :goto_0
    if-ge v8, v2, :cond_1

    .line 917
    aget v0, v7, v8

    const/4 v1, 0x0

    cmpl-float v0, v0, v1

    if-lez v0, :cond_0

    move v0, v3

    :goto_1
    aput v0, v6, v8

    .line 918
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v0, v0, v8

    aget v1, v7, v8

    add-float/2addr v0, v1

    aput v0, v9, v8

    .line 915
    add-int/lit8 v8, v8, 0x1

    goto :goto_0

    :cond_0
    move v0, v5

    .line 917
    goto :goto_1

    .line 921
    :cond_1
    aget v1, v9, v3

    aget v2, v9, v5

    aget v4, v6, v3

    aget v5, v6, v5

    move-object v0, p0

    move v3, p3

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFObject;->rotate(FFFII)V

    .line 922
    return-void
.end method

.method public rotate(FFFI)V
    .locals 6
    .parameter "angleX"
    .parameter "angleY"
    .parameter "speed"
    .parameter "direction"

    .prologue
    .line 1033
    move-object v0, p0

    move v1, p1

    move v2, p2

    move v3, p3

    move v4, p4

    move v5, p4

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFObject;->rotate(FFFII)V

    .line 1034
    return-void
.end method

.method public rotate(FFFII)V
    .locals 10
    .parameter "angleX"
    .parameter "angleY"
    .parameter "speed"
    .parameter "directionX"
    .parameter "directionY"

    .prologue
    const/4 v9, 0x2

    const/high16 v8, 0x43b4

    const/4 v7, 0x1

    .line 954
    const-class v3, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v3

    .line 956
    const/4 v2, 0x0

    .line 957
    .local v2, maxAngle:F
    :try_start_0
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v5, 0x0

    aput p1, v4, v5

    .line 958
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v5, 0x1

    aput p2, v4, v5

    .line 959
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    const/4 v5, 0x0

    aput p4, v4, v5

    .line 960
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    const/4 v5, 0x1

    aput p5, v4, v5

    .line 963
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    if-ge v1, v9, :cond_4

    .line 965
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    aget v4, v4, v1

    packed-switch v4, :pswitch_data_0

    .line 989
    :cond_0
    :goto_1
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v4, v4, v1

    cmpg-float v4, v2, v4

    if-gez v4, :cond_1

    .line 990
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v2, v4, v1

    .line 963
    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 968
    :pswitch_0
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v5, v5, v1

    invoke-static {v5}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v5

    aput v5, v4, v1

    .line 969
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v5, v5, v1

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v6, v6, v1

    sub-float/2addr v5, v6

    invoke-static {v5}, Ljava/lang/Math;->abs(F)F

    move-result v5

    aput v5, v4, v1

    .line 970
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v4, v4, v1

    invoke-static {v4}, Ljava/lang/Math;->abs(F)F

    move-result v4

    const/high16 v5, 0x4334

    cmpl-float v4, v4, v5

    if-lez v4, :cond_0

    .line 971
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v5, v5, v1

    sub-float v5, v8, v5

    aput v5, v4, v1

    goto :goto_1

    .line 1003
    .end local v1           #i:I
    :catchall_0
    move-exception v4

    monitor-exit v3
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v4

    .line 974
    .restart local v1       #i:I
    :pswitch_1
    :try_start_1
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v4, v4, v1

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v5, v5, v1

    cmpg-float v4, v4, v5

    if-gez v4, :cond_2

    .line 975
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v5, v5, v1

    invoke-static {v5}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v5

    aput v5, v4, v1

    .line 976
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v5, v5, v1

    sub-float v5, v8, v5

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v6, v6, v1

    add-float/2addr v5, v6

    aput v5, v4, v1

    goto :goto_1

    .line 978
    :cond_2
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v5, v5, v1

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v6, v6, v1

    sub-float/2addr v5, v6

    aput v5, v4, v1

    goto :goto_1

    .line 981
    :pswitch_2
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v4, v4, v1

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v5, v5, v1

    cmpl-float v4, v4, v5

    if-lez v4, :cond_3

    .line 982
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v5, v5, v1

    invoke-static {v5}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v5

    aput v5, v4, v1

    .line 983
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v5, v5, v1

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v6, v6, v1

    sub-float v6, v8, v6

    add-float/2addr v5, v6

    aput v5, v4, v1

    goto/16 :goto_1

    .line 985
    :cond_3
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v5, v5, v1

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v6, v6, v1

    sub-float/2addr v5, v6

    aput v5, v4, v1

    goto/16 :goto_1

    .line 994
    :cond_4
    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v4

    div-float v0, v2, v4

    .line 995
    .local v0, estimatedTime:F
    const/4 v1, 0x0

    :goto_2
    if-ge v1, v9, :cond_6

    .line 996
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    aget v5, v5, v1

    if-ne v5, v7, :cond_5

    const/4 v5, -0x1

    :goto_3
    int-to-float v5, v5

    iget-object v6, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v6, v6, v1

    div-float/2addr v6, v0

    invoke-static {v6}, Ljava/lang/Math;->abs(F)F

    move-result v6

    mul-float/2addr v5, v6

    aput v5, v4, v1

    .line 995
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_5
    move v5, v7

    .line 996
    goto :goto_3

    .line 999
    :cond_6
    const/4 v4, 0x1

    iput-boolean v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    .line 1000
    const/4 v4, 0x1

    iput-boolean v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    .line 1001
    const/4 v4, 0x1

    iput v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    .line 1002
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1003
    monitor-exit v3
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 1004
    return-void

    .line 965
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_0
    .end packed-switch
.end method

.method public rotate(FFJ)V
    .locals 11
    .parameter "distanceX"
    .parameter "distanceY"
    .parameter "duration"

    .prologue
    const/4 v2, 0x2

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 926
    new-array v10, v2, [F

    .line 927
    .local v10, targetDegree:[F
    new-array v8, v2, [F

    .line 928
    .local v8, distance:[F
    new-array v7, v2, [I

    .line 930
    .local v7, directions:[I
    aput p1, v8, v3

    .line 931
    aput p2, v8, v4

    .line 933
    const/4 v9, 0x0

    .local v9, i:I
    :goto_0
    if-ge v9, v2, :cond_1

    .line 935
    aget v0, v8, v9

    const/4 v1, 0x0

    cmpl-float v0, v0, v1

    if-lez v0, :cond_0

    move v0, v3

    :goto_1
    aput v0, v7, v9

    .line 936
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v0, v0, v9

    aget v1, v8, v9

    add-float/2addr v0, v1

    aput v0, v10, v9

    .line 933
    add-int/lit8 v9, v9, 0x1

    goto :goto_0

    :cond_0
    move v0, v4

    .line 935
    goto :goto_1

    .line 939
    :cond_1
    aget v1, v10, v3

    aget v2, v10, v4

    aget v5, v7, v3

    aget v6, v7, v4

    move-object v0, p0

    move-wide v3, p3

    invoke-virtual/range {v0 .. v6}, Lcom/nemustech/tiffany/world/TFObject;->rotate(FFJII)V

    .line 940
    return-void
.end method

.method public rotate(FFJII)V
    .locals 6
    .parameter "angleX"
    .parameter "angleY"
    .parameter "duration"
    .parameter "directionX"
    .parameter "directionY"

    .prologue
    const/high16 v5, 0x43b4

    .line 1037
    const-class v1, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v1

    .line 1038
    :try_start_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v3, 0x0

    aput p1, v2, v3

    .line 1039
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v3, 0x1

    aput p2, v2, v3

    .line 1040
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    const/4 v3, 0x0

    aput p5, v2, v3

    .line 1041
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    const/4 v3, 0x1

    aput p6, v2, v3

    .line 1044
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    const/4 v2, 0x2

    if-ge v0, v2, :cond_3

    .line 1046
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    aget v2, v2, v0

    packed-switch v2, :pswitch_data_0

    .line 1044
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 1049
    :pswitch_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v3, v3, v0

    invoke-static {v3}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v3

    aput v3, v2, v0

    .line 1050
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v3, v3, v0

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v4, v4, v0

    sub-float/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v3

    aput v3, v2, v0

    .line 1051
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v2, v2, v0

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v2

    const/high16 v3, 0x4334

    cmpl-float v2, v2, v3

    if-lez v2, :cond_0

    .line 1052
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v3, v3, v0

    sub-float v3, v5, v3

    aput v3, v2, v0

    .line 1053
    :cond_0
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v3, v3, v0

    long-to-float v4, p3

    div-float/2addr v3, v4

    aput v3, v2, v0

    goto :goto_1

    .line 1079
    .end local v0           #i:I
    :catchall_0
    move-exception v2

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v2

    .line 1056
    .restart local v0       #i:I
    :pswitch_1
    :try_start_1
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v3, v3, v0

    cmpg-float v2, v2, v3

    if-gez v2, :cond_1

    .line 1057
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v3, v3, v0

    invoke-static {v3}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v3

    aput v3, v2, v0

    .line 1059
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v3, v3, v0

    add-float/2addr v3, v5

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v4, v4, v0

    sub-float/2addr v3, v4

    aput v3, v2, v0

    .line 1062
    :goto_2
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v3, v3, v0

    long-to-float v4, p3

    div-float/2addr v3, v4

    aput v3, v2, v0

    goto :goto_1

    .line 1061
    :cond_1
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v3, v3, v0

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v4, v4, v0

    sub-float/2addr v3, v4

    aput v3, v2, v0

    goto :goto_2

    .line 1065
    :pswitch_2
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v2, v2, v0

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v3, v3, v0

    cmpl-float v2, v2, v3

    if-lez v2, :cond_2

    .line 1066
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v3, v3, v0

    invoke-static {v3}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v3

    aput v3, v2, v0

    .line 1067
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v3, v3, v0

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v4, v4, v0

    sub-float v4, v5, v4

    add-float/2addr v3, v4

    aput v3, v2, v0

    .line 1070
    :goto_3
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    aget v3, v3, v0

    neg-float v3, v3

    long-to-float v4, p3

    div-float/2addr v3, v4

    aput v3, v2, v0

    goto/16 :goto_1

    .line 1069
    :cond_2
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateAmount:[F

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    aget v3, v3, v0

    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    aget v4, v4, v0

    sub-float/2addr v3, v4

    aput v3, v2, v0

    goto :goto_3

    .line 1074
    :cond_3
    const/4 v2, 0x1

    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    .line 1075
    const/4 v2, 0x1

    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    .line 1076
    const/4 v2, 0x1

    iput v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    .line 1077
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1079
    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 1080
    return-void

    .line 1046
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_0
    .end packed-switch
.end method

.method public rotateHeadDegree(FFI)V
    .locals 5
    .parameter "angle"
    .parameter "speed"
    .parameter "direction"

    .prologue
    .line 1234
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1235
    :try_start_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v2, 0x2

    aput p1, v1, v2

    .line 1236
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    const/4 v2, 0x2

    aput p3, v1, v2

    .line 1238
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateDirection:[I

    const/4 v2, 0x2

    aget v1, v1, v2

    packed-switch v1, :pswitch_data_0

    .line 1256
    :goto_0
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    .line 1257
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsRotatingTargetExist:Z

    .line 1258
    const/4 v1, 0x1

    iput v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectStatus:I

    .line 1259
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1260
    monitor-exit v0

    .line 1261
    return-void

    .line 1241
    :pswitch_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v2, 0x2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v4, 0x2

    aget v3, v3, v4

    invoke-static {v3}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v3

    aput v3, v1, v2

    .line 1242
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    const/4 v2, 0x2

    invoke-static {p2}, Ljava/lang/Math;->abs(F)F

    move-result v3

    aput v3, v1, v2

    goto :goto_0

    .line 1260
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 1245
    :pswitch_1
    :try_start_1
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v2, 0x2

    aget v1, v1, v2

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v3, 0x2

    aget v2, v2, v3

    cmpg-float v1, v1, v2

    if-gez v1, :cond_0

    .line 1246
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v2, 0x2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v4, 0x2

    aget v3, v3, v4

    invoke-static {v3}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v3

    aput v3, v1, v2

    .line 1247
    :cond_0
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    const/4 v2, 0x2

    invoke-static {p2}, Ljava/lang/Math;->abs(F)F

    move-result v3

    aput v3, v1, v2

    goto :goto_0

    .line 1250
    :pswitch_2
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v2, 0x2

    aget v1, v1, v2

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v3, 0x2

    aget v2, v2, v3

    cmpl-float v1, v1, v2

    if-lez v1, :cond_1

    .line 1251
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v2, 0x2

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngleRotateTarget:[F

    const/4 v4, 0x2

    aget v3, v3, v4

    invoke-static {v3}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v3

    aput v3, v1, v2

    .line 1252
    :cond_1
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    const/4 v2, 0x2

    invoke-static {p2}, Ljava/lang/Math;->abs(F)F

    move-result v3

    neg-float v3, v3

    aput v3, v1, v2
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    .line 1238
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_0
    .end packed-switch
.end method

.method public setActOnDrag(Z)V
    .locals 2
    .parameter "mode"

    .prologue
    .line 84
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 85
    :try_start_0
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mActOnDrag:Z

    .line 86
    monitor-exit v0

    .line 87
    return-void

    .line 86
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method setActualOpacity(F)V
    .locals 0
    .parameter "opacity"

    .prologue
    .line 1477
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mOpacity:F

    .line 1478
    return-void
.end method

.method public setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V
    .locals 0
    .parameter "effectFinishListener"

    .prologue
    .line 1399
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mEffectFinishListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 1400
    return-void
.end method

.method public setHeadDegree(F)V
    .locals 5
    .parameter "angle"

    .prologue
    .line 1214
    const-class v2, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v2

    .line 1215
    const/4 v0, 0x0

    .line 1217
    .local v0, bRequest:Z
    :try_start_0
    invoke-static {p1}, Lcom/nemustech/tiffany/world/TFUtils;->filterAngle(F)F

    move-result v1

    .line 1218
    .local v1, newAngle:F
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v4, 0x2

    aget v3, v3, v4

    cmpl-float v3, v3, v1

    if-eqz v3, :cond_0

    const/4 v0, 0x1

    .line 1219
    :cond_0
    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mAngle:[F

    const/4 v4, 0x2

    aput v1, v3, v4

    .line 1221
    if-eqz v0, :cond_1

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v3, :cond_1

    iget-object v3, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1222
    :cond_1
    monitor-exit v2

    .line 1223
    return-void

    .line 1222
    .end local v1           #newAngle:F
    :catchall_0
    move-exception v3

    monitor-exit v2
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v3
.end method

.method public setHeight(F)V
    .locals 0
    .parameter "height"

    .prologue
    .line 1284
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mHeight:F

    .line 1285
    return-void
.end method

.method public setIgnoreMovementOnSelect(Z)V
    .locals 0
    .parameter "ignore"

    .prologue
    .line 335
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIgnoreMovementOnSelect:Z

    .line 336
    return-void
.end method

.method public setItemIndex(I)V
    .locals 2
    .parameter "itemIndex"

    .prologue
    .line 1419
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1420
    :try_start_0
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mItemIndex:I

    .line 1421
    monitor-exit v0

    .line 1422
    return-void

    .line 1421
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method setLayer(Lcom/nemustech/tiffany/world/TFWorld$Layer;)V
    .locals 0
    .parameter "layer"

    .prologue
    .line 1752
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mLayer:Lcom/nemustech/tiffany/world/TFWorld$Layer;

    .line 1753
    return-void
.end method

.method public setOpacity(F)V
    .locals 2
    .parameter "opacity"

    .prologue
    .line 1460
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mOpacity:F

    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mIntendedOpacity:F

    .line 1461
    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mFadeRemainingTime:J

    .line 1462
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1463
    :cond_0
    return-void
.end method

.method public setPriorAction(I)V
    .locals 1
    .parameter "action"

    .prologue
    const/4 v0, 0x1

    .line 1105
    if-ne p1, v0, :cond_0

    .line 1106
    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mShouldRotateFirst:Z

    .line 1109
    :goto_0
    return-void

    .line 1108
    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mShouldRotateFirst:Z

    goto :goto_0
.end method

.method public setPriorAxis(I)V
    .locals 1
    .parameter "axis"

    .prologue
    const/4 v0, 0x1

    .line 1091
    if-ne p1, v0, :cond_0

    .line 1092
    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateYFirst:Z

    .line 1095
    :goto_0
    return-void

    .line 1094
    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotateYFirst:Z

    goto :goto_0
.end method

.method public setReservedParam(II)V
    .locals 1
    .parameter "index"
    .parameter "value"

    .prologue
    .line 1779
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mReservedParam:[I

    aput p2, v0, p1

    .line 1780
    return-void
.end method

.method public setSelectListener(Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;)V
    .locals 0
    .parameter "selectListener"

    .prologue
    .line 1760
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mSelectListener:Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;

    .line 1761
    return-void
.end method

.method public setSensitivity(F)V
    .locals 0
    .parameter "sensitivity"

    .prologue
    .line 1119
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mSensitivity:F

    .line 1120
    return-void
.end method

.method public setVisibility(Z)V
    .locals 1
    .parameter "visibility"

    .prologue
    .line 1439
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mVisible:Z

    if-eq v0, p1, :cond_0

    .line 1440
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1441
    :cond_0
    iput-boolean p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mVisible:Z

    .line 1442
    return-void
.end method

.method public setWait(J)V
    .locals 2
    .parameter "milliseconds"

    .prologue
    .line 1136
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1137
    :try_start_0
    iput-wide p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitInitialTime:J

    .line 1138
    iput-wide p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    .line 1139
    monitor-exit v0

    .line 1140
    return-void

    .line 1139
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public setWeight(F)V
    .locals 2
    .parameter "weight"

    .prologue
    .line 1386
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWeight:F

    .line 1387
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWeight:F

    const v1, 0x3851b717

    mul-float/2addr v0, v1

    iput v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mTranslateResistency:F

    .line 1388
    iget v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWeight:F

    const v1, 0x3a03126f

    mul-float/2addr v0, v1

    iput v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationResistency:F

    .line 1389
    return-void
.end method

.method public setWidth(F)V
    .locals 0
    .parameter "width"

    .prologue
    .line 1272
    iput p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWidth:F

    .line 1273
    return-void
.end method

.method public setWrapperObject(Lcom/nemustech/tiffany/world/TFObjectContainer;)V
    .locals 2
    .parameter "wrapper"

    .prologue
    .line 1540
    const-class v0, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v0

    .line 1541
    :try_start_0
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFObject;->mWrapper:Lcom/nemustech/tiffany/world/TFObjectContainer;

    .line 1542
    monitor-exit v0

    .line 1543
    return-void

    .line 1542
    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public shoot(FFFZ)V
    .locals 6
    .parameter "forceX"
    .parameter "forceY"
    .parameter "forceZ"
    .parameter "bIgnoreResistency"

    .prologue
    .line 392
    const-class v1, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v1

    .line 394
    :try_start_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWeight:F

    const/high16 v3, 0x4448

    mul-float v0, v2, v3

    .line 397
    .local v0, k:F
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v3, 0x0

    aget v4, v2, v3

    div-float v5, p1, v0

    add-float/2addr v4, v5

    aput v4, v2, v3

    .line 398
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v3, 0x1

    aget v4, v2, v3

    div-float v5, p2, v0

    add-float/2addr v4, v5

    aput v4, v2, v3

    .line 399
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mMovingVelocity:[F

    const/4 v3, 0x2

    aget v4, v2, v3

    div-float v5, p3, v0

    add-float/2addr v4, v5

    aput v4, v2, v3

    .line 401
    const/4 v2, 0x0

    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsMovingTargetExist:Z

    .line 402
    iput-boolean p4, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    .line 403
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 404
    monitor-exit v1

    .line 405
    return-void

    .line 404
    .end local v0           #k:F
    :catchall_0
    move-exception v2

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v2
.end method

.method public spin(FFFZ)V
    .locals 6
    .parameter "forceX"
    .parameter "forceY"
    .parameter "forceZ"
    .parameter "bIgnoreResistency"

    .prologue
    .line 416
    const-class v1, Lcom/nemustech/tiffany/world/TFWorld;

    monitor-enter v1

    .line 418
    :try_start_0
    iget v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWeight:F

    const/high16 v3, 0x42c8

    mul-float v0, v2, v3

    .line 421
    .local v0, k:F
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    const/4 v3, 0x0

    aget v4, v2, v3

    div-float v5, p1, v0

    add-float/2addr v4, v5

    aput v4, v2, v3

    .line 422
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    const/4 v3, 0x1

    aget v4, v2, v3

    div-float v5, p2, v0

    add-float/2addr v4, v5

    aput v4, v2, v3

    .line 423
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mRotationVelocity:[F

    const/4 v3, 0x2

    aget v4, v2, v3

    div-float v5, p3, v0

    add-float/2addr v4, v5

    aput v4, v2, v3

    .line 425
    const/4 v2, 0x0

    iput-boolean v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsMovingTargetExist:Z

    .line 426
    iput-boolean p4, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsIgnoringResistency:Z

    .line 427
    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 428
    monitor-exit v1

    .line 429
    return-void

    .line 428
    .end local v0           #k:F
    :catchall_0
    move-exception v2

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v2
.end method

.method public unlock()V
    .locals 1

    .prologue
    .line 1356
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mIsLocked:Z

    .line 1357
    return-void
.end method

.method protected updateObject(Ljavax/microedition/khronos/opengles/GL10;IZ)Z
    .locals 6
    .parameter "gl"
    .parameter "tickPassed"
    .parameter "bDoGLCalc"

    .prologue
    const-wide/16 v4, 0x0

    .line 1153
    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    cmp-long v0, v0, v4

    if-lez v0, :cond_0

    .line 1156
    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    iget-wide v2, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitInitialTime:J

    cmp-long v0, v0, v2

    if-nez v0, :cond_1

    .line 1157
    iput-wide v4, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitInitialTime:J

    .line 1161
    :goto_0
    iget-object v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-static {}, Lcom/nemustech/tiffany/world/TFWorld;->requestRender()V

    .line 1164
    :cond_0
    iget-boolean v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mShouldRotateFirst:Z

    if-eqz v0, :cond_2

    .line 1166
    invoke-virtual {p0, p1, p2, p3}, Lcom/nemustech/tiffany/world/TFObject;->prvRotate(Ljavax/microedition/khronos/opengles/GL10;IZ)V

    .line 1167
    invoke-virtual {p0, p1, p2, p3}, Lcom/nemustech/tiffany/world/TFObject;->prvTranslate(Ljavax/microedition/khronos/opengles/GL10;IZ)V

    .line 1174
    :goto_1
    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    cmp-long v0, v0, v4

    if-gtz v0, :cond_3

    const/4 v0, 0x1

    :goto_2
    return v0

    .line 1159
    :cond_1
    iget-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    int-to-long v2, p2

    sub-long/2addr v0, v2

    iput-wide v0, p0, Lcom/nemustech/tiffany/world/TFObject;->mWaitRemainingTime:J

    goto :goto_0

    .line 1171
    :cond_2
    invoke-virtual {p0, p1, p2, p3}, Lcom/nemustech/tiffany/world/TFObject;->prvTranslate(Ljavax/microedition/khronos/opengles/GL10;IZ)V

    .line 1172
    invoke-virtual {p0, p1, p2, p3}, Lcom/nemustech/tiffany/world/TFObject;->prvRotate(Ljavax/microedition/khronos/opengles/GL10;IZ)V

    goto :goto_1

    .line 1174
    :cond_3
    const/4 v0, 0x0

    goto :goto_2
.end method
